package global

import (
	"portal_rpc/config"
	"portal_rpc/contracts/portal"

	"github.com/FISCO-BCOS/go-sdk/client"
	"github.com/elastic/go-elasticsearch/v8"
	"github.com/ethereum/go-ethereum/common"
	"gorm.io/gorm"
)

var (
	DB *gorm.DB
	// NacosConfig nacos配置
	NacosConfig *config.NacosConfig
	// ServerConfig 全局配置变量
	ServerConfig *config.ServerConfig
	// ElasticClient es客户端
	ElasticClient *elasticsearch.TypedClient

	// fisco bcos client
	Client               *client.Client
	PortalManager        *portal.Portal
	PortalManagerAddress common.Address
	Deployer             common.Address
	PortalProver         common.Address
	TradeProver          common.Address
	TradeAuditor         common.Address
)
